#-*- coding:utf-8 -*-
from br import br_bnep
from br import br_avctp
import time
# 1:sdp, 3, 15:bnep, 17, 23:avtcp, 25:avdtp 8:obex
# 拒绝服务攻击采用LINUX l2ping -f 经典蓝牙MAC地址
# 模糊测试攻击
# 经典蓝牙扫描攻击

if __name__ == '__main__':
    addr = '4C:74:BF:5A:4E:24'
    bnep = br_bnep.Bnep(addr)
    avctp = br_avctp.Avctp(addr)
    for i in range(0, 10000):
        time.sleep(0.1)
        print bnep.bnep_random_fuzz()
    for i in range(0, 10000):
        time.sleep(0.1)
        print avctp.avctp_random_fuzz()